/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tracker.entity;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *Workshop 
 *Class ID        : SE0691   
 *Student ID      : SE90009
 *Student Name    : Phạm Nguyễn Nhật Trung
 *Due Date        : 12 November 2012
 *I declare that this assignment is my own work
 *in accordance with FPT Policy.
 */
@Stateless
public class CommentsEntityFacade extends AbstractFacade<CommentsEntity> {
    @PersistenceContext(unitName = "ASG2-Tracker1-ejbPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public CommentsEntityFacade() {
        super(CommentsEntity.class);
    }

}
